<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>测试cookie</title>
</head>
<body>
    <script>
        //cookie 存储对数据格式
        // 多个数据内容用 ；分割
        // 内容为 name = calue
        //允许多个
        document.cookie = "newcookie=dsfsf";
        console.log(document.cookie)

    </script>
</body>
</html>